import { transformOptionToRecord } from '@/utils/common'

// export const MasterCardStatus: Record<Api.Card.MasterCardDetail['cardStatus'], string> = {
//     1: '待认证',
//     2: '待激活',
//     3: '已成功',
//     4: '已失效',
//     5: '已挂失',
//     6: '待审核',
//     7: '已拒绝请联系客服',
//     8: '审核中',
//     9: '已拒绝'
// }

export const MasterCardStatusOptions = [
    { value: 1, label: '待认证' },
    { value: 6, label: '待审核' },
    { value: 8, label: '审核中' },
    { value: 2, label: '待激活' },
    { value: 3, label: '已成功' },
    { value: 9, label: '已拒绝' },
    { value: 4, label: '已失效' },
    { value: 5, label: '已挂失' },
    { value: 7, label: '已拒绝请联系客服' }
]

export const MasterCardStatus = transformOptionToRecord(MasterCardStatusOptions)
